package cn.yhbk.web.modules.manager.Service;

import cn.yhbk.web.modules.manager.Pojo.DTO.Gpa.GpaDto;
import cn.yhbk.web.modules.manager.Pojo.DTO.ScholarShip.ScholarShipDto;
import cn.yhbk.web.modules.manager.Pojo.DTO.ScholarShip.ScholarShipLimit;
import cn.yhbk.web.modules.manager.Pojo.DTO.ScholarShip.ScholarShipTree;
import cn.yhbk.web.modules.manager.Pojo.Entity.TbScholarship;
import cn.yhbk.web.modules.manager.Pojo.VO.Scholarship.ScholarShipPag;
import cn.yhbk.web.modules.manager.Pojo.VO.Scholarship.ScholarShipPeople;
import cn.yhbk.web.modules.manager.Pojo.VO.Scholarship.ScholarshipAdd;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 奖学金信息表 服务类
 * </p>
 *
 * @author 有何不可
 * @since 2023-08-05
 */
public interface ITbScholarshipService extends IService<TbScholarship> {

    ScholarShipPag getScholarShipPag(Integer currentPage, Integer pageSize, Long typeId, String scholarshipName);

    List<ScholarShipTree> getAllScholarShip();

    List<GpaDto> getScholarshipSort(List<GpaDto> gpaRecordSort, Long majorId, Long scholarshipType, Long graderId);

    Boolean saveScholarShip(Long adminId, ScholarshipAdd scholarshipAdd);

    void updatePeople(ScholarShipPeople scholarShipPeople);

    List<ScholarShipDto> getAllScholarShipList();

    List<ScholarShipLimit> getLimitNum(Long majorId, Long graderId);

//    List<ScholarShipLimit> getLimitNum(Long scholarshipId);
}
